package com.xiejr.actuator.socket.model;

import lombok.*;

/**
 * @program: socket-actuator-spring-boot-starter
 * @description: 主题消息
 * @author: xjr
 * @create: 2020-07-12 14:10
 **/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
public class TopicMessage  extends Message{

    private String topic;

    private boolean transfer;

    public TopicMessage(Object source) {
        super(source);
        this.topic= (String) source;
    }

}
